package com.aplink.generic.pojo;

import java.io.Serializable;

import com.aplink.generic.util.ResourcesHelper;

public class AutoSync implements Serializable {
	private static final long serialVersionUID = 1237874902398052397L;
	private boolean isEnable;
	private String mAuthorities;
	private String mContentTitle;
	private String mIcon;
	private int mInterval;
	private String mMessage;

	public String getAuthorities() {
		return this.mAuthorities;
	}

	public String getContentTitle() {
		return this.mContentTitle;
	}

	public String getIcon() {
		return this.mIcon;
	}

	public int getIconID() {
		return ResourcesHelper.getDrawableIdByName(this.mIcon);
	}

	public int getInterval() {
		return this.mInterval;
	}

	public String getMessage() {
		return this.mMessage;
	}

	public boolean isEnable() {
		return this.isEnable;
	}

	public void setAuthorities(final String authorities) {
		this.mAuthorities = authorities;
	}

	public void setContentTitle(final String contentTitle) {
		this.mContentTitle = contentTitle;
	}

	public void setEnable(final boolean isEnable) {
		this.isEnable = isEnable;
	}

	public void setIcon(final String icon) {
		this.mIcon = icon;
	}

	public void setInterval(final int interval) {
		this.mInterval = interval;
	}

	public void setMessage(final String message) {
		this.mMessage = message;
	}

}
